package com.zdkj.subway.check.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * TVM票款差异审核记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sw_au_tvm_amount_defference_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TVM票款差异审核记录表")
public class SwAuTvmAmountDefferenceLog extends Model<SwAuTvmAmountDefferenceLog> {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    /**
     * 主表id
     */
    @ApiModelProperty(value = "主表id")
    private Integer relationId;

    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    private String lineCode;

    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    private String stationCode;

    /**
     * TVM编号
     */
    @ApiModelProperty(value = "TVM编号")
    private String tvmCode;

    /**
     * 现金售票金额
     */
    @ApiModelProperty(value = "现金售票金额（分）")
    private BigDecimal CashSellTicket;

    /**
     * 现金充值金额
     */
    @ApiModelProperty(value = "现金充值金额（分）")
    private BigDecimal CashRecharge;

    /**
     * 现金退款金额
     */
    @ApiModelProperty(value = "现金退款金额（分）")
    private BigDecimal CashReturn;

    /**
     * 系统合计金额
     */
    @ApiModelProperty(value = "系统合计金额（分）")
    private BigDecimal systemMoney;

    /**
     * 卸载实点金额
     */
    @ApiModelProperty(value = "卸载实点金额（分）")
    private BigDecimal actualMoney;

    /**
     * 差异金额
     */
    @ApiModelProperty(value = "差异金额（分）")
    private BigDecimal diffMoney;

    /**
     * 单台设备协查系统金额
     */
    @ApiModelProperty(value = "单台设备协查系统金额")
    private BigDecimal singleDeviceSysMoney;

    /**
     * 单台设备协查差异金额
     */
    @ApiModelProperty(value = "单台设备协查差异金额")
    private BigDecimal singleDeviceDiffMoney;

    /**
     * 分钱箱审核系统金额
     */
    @ApiModelProperty(value = "分钱箱审核系统金额")
    private BigDecimal boxAuditSysMoney;

    /**
     * 收入日期
     */
    @ApiModelProperty(value = "收入日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源")
    private String dataSource;

    /**
     * 修改原因备注
     */
    @ApiModelProperty(value = "修改原因备注")
    private String reasonRemark;

    /**
     * 修改人工号
     */
    @ApiModelProperty(value = "修改人工号")
    private String creatorId;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String creatorName;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
